Find strikethrough object text

Hi,

 

I am trying to find the objects, which has a strikenthrough Object Text.

The problem is that I am unable to return the real RichText strings, meaning a format "\ul Something, something, Dark Side!" or "\strikethrough Something, something, copleeete!"

Is there a function for this in Doors?

 

Thanks,

Zsolti


valikund - Fri Jan 22 09:00:47 EST 2016

Re: Find strikethrough object text
morast - Mon Jan 25 03:20:16 EST 2016

Have a look in the Rich text processing section in the DXL help file. There are some code examples there. Here is another one to get you started: 

 

Object o = current
string s = richText(o."Object Text")
RichText rt
for rt in s do
{
  if ( rt.strikethru ) print "Found strikethru!\n"
}